﻿#include "pch.h"
#include "SvgPolygon.h"

void CSvgPolygon::initialObject(void)
{
	scale = 1;
	strokeWidth = 0;
	////似乎各类浏览器都默认为黑色
	fill = SVG_COLOR_FILL_DEFAULT;

	points.clear();
}

CSvgPolygon::CSvgPolygon(void)
{
	initialObject();
}

CSvgPolygon::~CSvgPolygon(void)
{
	points.clear();
}

CSvgPolygon::CSvgPolygon(const TCHAR* aObjSvgType) :CSvgObject()
{
	initialObject();
	objectSvgType = CString(aObjSvgType);
}

CString CSvgPolygon::toString(void) {

	CString mstr;
	mstr.Format(_T("unfinished"));
	return mstr;
}
